from fastapi import Depends, Request
from pybotx_fsm import FSMMiddleware
from pybotx import Bot
from app.settings import settings
from app.commands import fidback
from app.commands import kpi
from app.commands import news
from app.commands import common

def get_bot() -> Bot:
    return Bot(
        collectors=[
            common.collector,
            fidback.collector,
            kpi.collector,
            news.collector,          
        ],
        bot_accounts=settings.BOT_CREDENTIALS,
        middlewares=[FSMMiddleware()],
    )